package com.idheima.zuoye.zuoye1;

public class Student extends  Person {


    public Student(String name, int age, String address) {
        super(name, age, address);
    }

    @Override
    public void write() {
        info();
        System.out.println("接受了5年义务教育");
    }


}
